package com.wunu.smartlock1.net.param;

public class ChangeLockMemberParam {
    private long memberId;
    private int state;
    private boolean isDelete;

    public ChangeLockMemberParam() {

    }

    private ChangeLockMemberParam(Builder builder) {
        setMemberId(builder.memberId);
        setState(builder.state);
        setDelete(builder.isDelete);
    }

    public long getMemberId() {
        return memberId;
    }

    public void setMemberId(long memberId) {
        this.memberId = memberId;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public boolean isDelete() {
        return isDelete;
    }

    public void setDelete(boolean delete) {
        isDelete = delete;
    }


    public static final class Builder {
        private long memberId;
        private int state;
        private boolean isDelete;

        public Builder() {
        }

        public Builder setMemberId(long val) {
            memberId = val;
            return this;
        }

        public Builder setState(int val) {
            state = val;
            return this;
        }

        public Builder setIsDelete(boolean val) {
            isDelete = val;
            return this;
        }

        public ChangeLockMemberParam build() {
            return new ChangeLockMemberParam(this);
        }
    }
}
